package com.wzdigit.wms.basic.client.response.across;

import java.io.Serializable;

public class AcrossResult<T> implements Serializable {
	
	private static final long serialVersionUID = 8049059367555162221L;
	
	private boolean sucess;//是否成功
    private String message;//返回消息
    private T resultList;//返回数据

    public AcrossResult(boolean sucess, String message, T resultList) {
        this.sucess = sucess;
        this.message = message;
        this.resultList = resultList;
    }

    public AcrossResult(boolean sucess, String message) {
        this.sucess = sucess;
        this.message = message;
    }
    
    public AcrossResult() {
    }

    public boolean issucess() {
        return sucess;
    }

    public void setsucess(boolean sucess) {
        this.sucess = sucess;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public T getresultList() {
        return resultList;
    }

    public void setresultList(T resultList) {
        this.resultList = resultList;
    }
}
